package com.zsj.shop.springboot.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.zsj.shop.service.IUserService;
import org.springframework.stereotype.Component;

/**
 * @author zhangsj
 * @date 2020/6/2 21:41
 */
@Component
@Service(interfaceClass = IUserService.class)
public class UserServiceImpl implements IUserService {
    @Override
    public String sayHello(String name) {
        return "hello: " + name;
    }
}
